package com.tusuo.stds.biz;

import com.tusuo.stds.R;
import com.tusuo.stds.ui.ToolbarOwner;

import org.parceler.Parcel;

import java.util.List;

/**
 * @author J.Huang
 * @version 1.0
 */
@Parcel
public class PageStatus {

    public static final String EXTRA_NAME = PageStatus.class.getName();

    public boolean toolbarVisible;
    public boolean toolbarUpButtonEnabled;

    public int toolbarBgColor;
    public String toolbarTitle;
    public int toolbarTitleTextColor;

    public PageStatus() {}

    public PageStatus(boolean toolbarVisible, boolean toolbarUpButtonEnabled,
                      String toolbarTitle) {
        this(toolbarVisible, toolbarUpButtonEnabled, R.color.colorThemePrimary, toolbarTitle, R.color.white);
    }

    public PageStatus(boolean toolbarVisible, boolean toolbarUpButtonEnabled,
                      int toolbarBgColor,
                      String toolbarTitle,
                      int toolbarTitleTextColor) {
        this.toolbarVisible = toolbarVisible;
        this.toolbarUpButtonEnabled = toolbarUpButtonEnabled;
        this.toolbarBgColor = toolbarBgColor;
        this.toolbarTitle = toolbarTitle;
        this.toolbarTitleTextColor = toolbarTitleTextColor;
    }


}
